package com.wh.reflection;

public class Test2 {

    public static void main(String[] args) throws ClassNotFoundException {
        Student c=new Student();
        Class c1 = c.getClass();
        Class c2=Student.class;
        Class c3=Class.forName("com.wh.reflection.Student");
        System.out.println(c1.hashCode());
        System.out.println(c2.hashCode());
        System.out.println(c3.hashCode());

        Class c4=Integer.TYPE;
        System.out.println(c4);
        Class c5=Teacher.class;
        System.out.println(c5.hashCode());
        System.out.println(c1.getSuperclass());
    }
}
